import { http } from "@/utils/http.js";

// 我的消息列表
export const getAjcaptcha = (data) => {
  return http.request({
    method: "get",
    url: "/common/ajcaptcha",
    params: {
      ...data,
      offLoading: true, // 加参数关闭api请求全局加载中提示
    },
  });
};

export const ajcaptchaCheck = (data) => {
  return http.request({
    method: "post",
    url: "/common/ajcheck",
    data: {
      ...data,
      offLoading: true, // 加参数关闭api请求全局加载中提示
    },
  });
};
